//*****************************************************************************
//*****************************************************************************
// 		Squeak RF Link Control Interface Definitions
//
//	This profile desciption is for the following hardware configuration:
//	WHAM2 Version1.0 TX DM
//	See the Hardware Technical Specification for WHAM2 DM for more details
//*****************************************************************************

#define	CRC_polynomial	0x31
#define	CRC_init		0x00

//=============================================================================
//	API name:	SRCI_R_configure_RFLM_State
//=============================================================================
#define	_RFLM_InitializedSleepState				0
#define	_RFLM_SleepState						1
#define	_RFLM_StandbyState					2
#define	_RFLM_ActiveState						3


//=============================================================================
//	API name:	SRCI_C_RFLM_LinkMode_Req
//=============================================================================
#define	_RFLM_Standby_LinkMode					0
#define	_RFLM_CreateChannel_LinkMode				1
#define	_RFLM_Active_LinkMode					2
#define	_RFLM_ActiveAudio_LinkMode				3
#define	_RFLM_ActiveAudio_PassiveAudio_LinkMode		4
#define	_RFLM_Idle_LinkMode					5
#define	_RFLM_Test_LinkMode					6


//=============================================================================
//	API name:	SRCI_SV_RFLM_Slot0_ConnectionStatus
//	API name:	SRCI_SV_RFLM_Slot1_ConnectionStatus
//=============================================================================
#define	_RFLM_DeviceDisconnected				0
#define	_RFLM_DeviceConnected					1
#define	_RFLM_DeviceRequestingConnection			3
#define	_RFLM_DeviceNegotiatingConnection			4



//=============================================================================
//	API name:	SRCI_C_RFLM_Slot0_ConnectionSetup
//	API name:	SRCI_C_RFLM_Slot1_ConnectionSetup
//=============================================================================
#define	_RFLM_CreateConnection_Request			1
#define	_RFLM_CreateConnection_Response			1

#define	_RFLM_AcceptConnection_Request			2
#define	_RFLM_ConnectionComplete_Response			2

#define	_RFLM_RejectConnection_Request			3
#define	_RFLM_RejectConnection_Response			3

#define	_RFLM_Disconnect_Request				4
#define	_RFLM_DisconnectComplete_Response			4



//=============================================================================
//	API name:	SRCI_C_RFLM_MiscConfiguration
//=============================================================================
#define	_RFLM_PerformRSSIscan					1

